// [data-loader] {
//     display: inline-block;
//     margin: 8px;
// }

[data-loader='circle'] {
    width: 25px;
    height: 25px;
    animation: loadingCircle infinite .75s linear;
    border: 2px solid #888;
    border-top-color: transparent;
    border-radius: 100%;
}

.loading-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .5);
    top: 0;
    left: 0;
    text-align: center;
    z-index: 19;
}

[data-loader='circle-side'] {
    position: relative;
    width: 25px;
    height: 25px;
    animation: loadingCircle infinite .75s linear;
    border: 2px solid #888;
    border-top-color: rgba(0, 0, 0, .2);
    border-right-color: rgba(0, 0, 0, .2);
    border-bottom-color: rgba(0, 0, 0, .2);
    border-radius: 100%;
}

@keyframes loadingCircle {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

[loader-inline='circle'] {
    position: relative;
    transition: background-color .3s;
    pointer-events: none;

    &:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba($color: #fff, $alpha: .5);
        z-index: 9;
    }

    &:after {
        content: ''; // display: inline-block;
        position: absolute;
        width: 20px;
        height: 20px;
        animation: loadingCircle infinite .75s linear;
        border: 2px solid #888;
        border-top-color: transparent;
        border-radius: 100%;
        z-index: 10;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }
}

.table-loading {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .5);
    top: 0;
    left: 0;
    text-align: center;
    z-index: 19;
}
